<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="p" uri="/WEB-INF/tld/page.tld" %>
<div class="cmtnav">
    <h4>全部点评（${cPage.totalRow }）</h4>
    <ul>
    	<c:forEach items="${cSum }" var="sum">
        	<li>${sum.enumtype.desc }：<span></span><i>（${sum.num }）</i></li>
        </c:forEach>
    </ul>
</div>
<div class="clear"></div>
<div class="txt">
	<c:forEach items="${cPage.list }" var="comment">
		<dl>
		   	<dt class="fl">
		       	<div class="headimg">
		           	<em></em>
		               <img src="${comment.member.ProfilePicture }">
		        </div>
		        ${comment.member.NickName }
		    </dt>
		    <dd class="fr" style="width:760px;">
		    	<h5><em>满意度:<span style="width:${comment.starDict.enumtype.len}px;"></span></em>
		    	<em>景区服务：<i>${comment.serviceDict.Descripiton }</i></em>
		    	<em>景区交通：<i>${comment.trafficDict.Descripiton }</i></em>
		    	<b class="fr">${comment.create_time }</b></h5>
		        <p>${comment.comment }</p>
		    </dd>
		</dl>
	</c:forEach>
	<script>
	var Plength=$('.Bnav ul li').length/2;
	
	</script>
	<p:page pageNumber="${cPage.pageNumber }" totalPage="${cPage.totalPage }"/>
</div>
